#!bin/bash
MainPst=/home/nvidia/positec

if [ -e /home/nvidia/positec/robot_ai ]; then
   echo "robot_ai exist,will compile separately"
   BltAIPst=${MainPst}/robot_ai/test_ws
else
   BltAIPst=${MainPst}/robot
fi

if [ -e /home/nvidia/positec/robot_slam ]; then
   echo "robot_slam exist,will compile separately"
   BltSLAMPst=${MainPst}/robot_slam/weeding_robot
else
   BltSLAMPst=${MainPst}/robot
fi

echo "SLAM position ${BltSLAMPst}"
echo "AI position ${BltAIPst}"

